﻿using Architecture.Domain.TestModel.Samples;
using Architecture.Services.ServicesInterfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Architecture.Services.WCFServices
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "OrganisationService" in code, svc and config file together.
    // NOTE: In order to launch WCF Test Client for testing this service, please select OrganisationService.svc or OrganisationService.svc.cs at the Solution Explorer and start debugging.
    public class OrganisationService : IOrganisationService
    {
        public IEnumerable<Organisation> GetOrganisations()
        {
            return new OrganisationRepository().GetOrganisations();
        }
    }
}
